#!/bin/bash

REMEMBER=/home/pamiec/qpq/aaa_skrypty/remember/remember
child=
while true; do
	list=""
	if test -n "$($REMEMBER login rok)"; then
		list="$list""\"#80#"$($REMEMBER login rok)"\""
	fi
	list="$list "$($REMEMBER login tydzien | while read line; do echo -n " \"#10#$line\""; done)
	
	killall msgcli
	sleep 0.1
	eval msgcli $list -s -t 20 &
#	ps aux | grep msgcli
#	child=$!
#	echo $child
	sleep $[10*60]
done


